EMT Practice Test

1. Question Content...


Question List

Question1: Refer to the exhibits.

What DataWeave expression transforms the conductorIds array to the XML output?

Question2: Pick the component with which DataWeave is tightly integrated.

Question3: What valid RAML retrieves details on a specific by its orderld as a URL parameter?
A)

B)

C)

D)

Question4: Where are values of query parameters stored in the Mule event by the HTTP Listener?

Question5: What is the output type of the DataWeave map operator?

Question6: Refer to the exhibits.


Set paylaod transformer is set the firstName and lastName of the customer as shown in below images.
What is the correct Dataweave expression which can be added in message attribute of a Logger activity to access firstName (which in this case is Madhav) from the incoming event?

Question7: What does C4E stands for in MuleSoft recommended IT operating model?

Question8: A Batch Job scope has five batch steps. An event processor throws an error in the second batch step because the input data is incomplete. What is the default behavior of the batch job after the error is thrown?

Question9: According to MuleSoft, what is the Center for Enablement's role in the new IT operating model?

Question10: A Mule application configured with Autodiscovery implements an API.
Where is governance enforced for policies defined for this Mule application?

Question11: Refer to the exhibit.

The default scope in choice router recursively calls the color flow.
A web client sends a PUT request to the HTTP listener with payload Blue.
What response is returned to the web client?

Question12: Refer to the exhibit.

What is the output payload in the On Complete phase

Question13: Refer to the exhibits.


A web client sends a POST request to the HTTP Listener with the payload "Hello-". What response is returned to the web client?
What response is returned to the web client?

Question14: Refer to the exhibits. The main flow contains an HTTP Request in the middle of the flow. The HTTP Listeners and HTTP Request use default configurations.
A web client submits a request to the main flow's HTTP Listener that includes query parameters for the pedigree of the piano.
What values are accessible to the Logger component at the end of the main flow?

Question15: Refer to the exhibit.

What DataWeave expression transforms the conductorlds array to the XML output?
A)

B)

C)

D)

Question16: Mule application contains ActiveMQ JMS dependency. Mule application was compiled and run successfully in Anypoint Studio. The mule application must now be exported from Anypoint Studio and shared with other developer. What export options should be selected to create the smallest JAR file that can be imported into other developer's Anypoint Studio and run successfully?

Question17: What execution model is used by For Each and Batch Job scopes?

Question18: How does APIkit determine the number of flows to generate from a RAML specification?

Question19: As a part of project requirement , you want to build an API for a legacy client. Legacy client can only consume SOAP webservices. Which type the interface documentation can be prepared to meet the requirement?

Question20: Refer to the exhibits.


A web client submits a request to the HTTP Listener and the HTTP Request throws an error.
What payload and status code are returned to the web client?
Refer to the exhibits. A web client submits a request to the HTTP Listener and the HTTP Request throws an error.
What payload and status code are returned to the web client?

Question21: How to import Core (dw::Core) module into your DataWeave scripts?

Question22: What should this endpoint return considering the API is build using standard practices?
http://dev.acme.com/api/patients?year=2021

Question23: A Utlility.dwl is located in a Mule project at src/main/resources/modules. The Utility.dwl file defines a function named encryptString that encrypts a String What is the correct DataWeave to call the encryptString function in a Transform Message component?

Question24: What is output of Dataweave flatten function?

Question25: Refer to the exhibits.

What payload and variable are logged at the end of the main flow?

Question26: A web client submits a request to http://localhost:8081?flrstName=john. What is the correct DataWeave expression to access the firstName parameter?

Question27: A REST connect module is generated for a RAML specification. and then the rest connect module is imported in mule application in Anypoint Studio. For each method of the RAML specification , what does the REST connect module provide?

Question28: By default, what happens to a file after it is read using an FTP connector Read operation?

Question29: A Mule project contains a DataWeave module like WebStore.dwl that defines a function named loginUser. The module file is located in the project's src/main/resources/libs/etl folder.
What is correct DataWeave code to import all of the WebStore.dwl file's functions and then call the loginUser function for the login
"
[email protected]"?

Question30: What module and operation will throw an error if a Mule events payload is not number ?

Question31: Refer to the exhibits.


A web client submits the request to the HTTP Listener. What response message would be returned to web client?

Question32: In an application network. If the implementation but not the interface of a product API changes, what needs to be done to the other APIs that consume the product API?

Question33: What DataWeave expression transforms the example XML input to the CSV output?

A)

B)

C)

D)

Question34: What are the latest specification of RAML available?

Question35: Refer to the exhibit. The Batch Job processes, filters and aggregates records, What is the expected output from the Logger component?

Question36: Refer to the exhibits.

The Validation component in the private flow throws an error. What response message is returned to a client request to the main flow's HTTP Listener?

Question37: What DataWeave expression transforms the array a to the XML output?

Question38: What statement is a part of MuleSoft's description of an application network?

Question39: Refer to the exhibit.

In the execution of the Scatter_Gather, the flow1 route completes after 10 seconds and the flow2 route completes after 20 seconds.
How many seconds does it take for the Scatter_Gather to complete?

Question40: Which of the below is not a valid category for connector type?

Question41: What MuleSoft API-led connectivity layer is intended to expose part of a backend database without business logic?

Question42: What payload is returned by a Database SELECT operation that does not match any rows in the database?

Question43: Refer to the exhibit.

The API needs to be updated using the company-wide standard for the Plan data type. The Object data type has already been published in Anypoint Exchange with the global reference . ACME/DataTypes/PlanDataType.raml.
What is a valid RAML specification that reuses the Plan data type?
A)

B)

C)

D)

Question44: Which of the below functionality is provided by zip operator in DataWeave?

Question45: Where would you create SLA Tiers for an API?

Question46: Refer to the exhibit.


How should be the where clause written for the configured input parameters in such a way that it achieves below SQL query?

Question47: Refer to the exhibit.

All three of the condition for the Choice router are true. What log messages are written?

Question48: Refer to the exhibits. A web client submits a request to http://localhost:8081/fliqhts?destination=SFO and the Web Service Consumer throws a WSC:BAD_REQUEST error.
What is the next step to fix this error?

Question49: Refer to the exhibit.

A Mule event is composed of a hierarchy of objects. Where in the hierarchy are variables stored?

Question50: Refer to the exhibit. The input array of strings is passed to the batch job, which does NOT do any filtering or aggregating. What payload is logged by the Logger component?

Question51: Which of the following is invalid type of event processor which can be used as a router ?

Question52: An organization is beginning to follow Mulesoft's recommended API led connectivity approach to use modern API to support the development and lifecycle of the integration solutions and to close the IT delivery gap.
What distinguishes between how modern API's are organized in a MuleSoft recommended API-led connectivity approach as compared to other common enterprise integration solutions?

Question53: Refer to the exhibits.



The Batch Job scope contains two Batch Steps scopes with different accept expression.
The input payload is passed to the Batch Job scope.
After the entire payload is processed by the batch job scope , what messages have been logged by the Logger component?

Question54: Refer to the exhibits. APIKit router is used to generate the flow components for RAML specification.
The Mule application must be available to REST clients using the two URL's
http://localhost:8081/internal and http://localhost:8081/external
How many APIKit Router components are generated to handle requests to every endpoint defined in RAML specification?
1. Library.raml
2. /books
3. get:
4. post:
5. /order:
6. get
7. patch
8. /members
9. get:

Question55: Refer to the exhibits.

This main mule application calls a separate flow called as ShippingAddress which returns the address corresponding to the name of the user sent to it as input. Output of this ShippingAddress is stored in a target variable named address.
Next set of requirement is to have a setPayload transformer which will set below two values
1) orderkey which needs to set to be equal to the order element received in the original request payload.
2) addressKey which needs to be set to be equal to the address received in response of ShippingAddress flow What is the straightforward way to properly configure the Set Payload transformer with the required data?


A mule application is being developed which will process POST requests coming from clients containing the name and order information. Sample request is as below

Question56: There are three routes configured for Scatter-Gather and incoming event has a payload is an Array of three objects. How routing will take place in this scenario?

Question57: Following Mulesoft's recommended API-led connectivity approach , an organization has created an application network. The organization now needs to create API's to transform , orchestrate and aggregate the data provided by the other API's in the application network. This API should be flexible enought ot handle the data from additional API's in future.
According to Mulesoft's recommended API-led connectivity approach , what is the best layer for this new API?

Question58: How are multiple conditions used in a Choice router to route events?

Question59: What is the output of Dataweave Map operator?

Question60: A Mule project contains a MySQL Database dependency. The project is exported from Anypoint Studio so it can be deployed to CloudHub.
What export options create the smallest deployable archive that will successfully deploy to CloudHub?
What export option create their smallest deployable archive that will successfully deploy to CloudHub?
A)

B)

C)

D)

Question61: A company has defined two RAML fragments, Book Data Type and Book Example to be used in APIs.
What would be valid RAML to use these fragments ?

Question62: As a part of requirement , application property defined below needs to be accessed as dataweave expression. What is the correct expression to map it to port value?

Question63: Refer to the exhibits.

The input array of strings is processed by the batch job that processes, fitters, and aggregates the values.
What is the last message logged by the Logger component after the batch job completes processing?
A)

B)

C)

D)

Question64: Where is metadata stored in a Mule project

Question65: Refer to the exhibits.

The orders.csv file is read, then processed to look up the orders in a database. The Mule application is debugged in Any point Studio and stops at the breakpoint.
What is the payload shown in the debugger at this breakpoint?

Question66: What is the correct syntax to define and call a function in Database?
A)

B)

C)

D)

Question67: An SLA based policy has been enabled in API Manager. What is the next step to configure the API proxy to enforce the new SLA policy?

Question68: Refer to the exhibits.

All three of the conditions for the Choice router are true. What messages are written in the application log?

Question69: Refer to the exhibits.


A web client submits a request to http://localhQst:8081. What is the structure of the payload at the end of the flow?
A)

B)

C)

D)

Question70: A flow contains an HTTP Listener as the event source. What is the DataWeave expression to log the Content-Type header using a Logger component?

Question71: Why would a Mule application use the ${http.port} property placeholder for its HTTP Listener port when it is deployed to CloudHub?

Question72: Refer to the exhibits.

The Mule Application is being debugged in Anypoint Studio and stops at breakpoint. What is the value of payload displayed in debugger at this breakpoint?

Question73: What is the correct syntax for a Logger component to output a message with the contents of a 3SON Object payload?